package com.hxzy.shop.dto.auth.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
public class EditRoleReq implements Serializable {
    private static final long serialVersionUID = 7636254058764364574L;

    @ApiModelProperty("角色Id")
    private Long roleId;

    @ApiModelProperty("角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDescription;

    @ApiModelProperty("状态 true启用 false 禁用")
    @NotNull(message = "状态不能为空")
    private Boolean state;
}
